package org.tony.spider.core.entries;

import java.util.HashMap;
import java.util.Map;

public class Spider
{
  private String            name;
  private Map<String, Rule> rules;

  public Spider()
  {
    rules = new HashMap<String, Rule>();
  }

  public String getName()
  {
    return name;
  }

  public void setName(String name)
  {
    this.name = name;
  }

  public Map<String, Rule> getRules()
  {
    return rules;
  }

  public void setRules(Map<String, Rule> rules)
  {
    this.rules = rules;
  }

  @Override
  public String toString()
  {
    return "Spider [name=" + name + ", rules=" + rules + "]";
  }
}
